Add -gtk-image-effect alias for -gtk-icon-effect
authorChristoph Reiter <reiter.christoph@gmail.com>
Tue, 16 Feb 2016 14:49:23 +0000 (15:49 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Tue, 16 Feb 2016 14:54:13 +0000 (15:54 +0100)
The property name was changed in 2396265523dfc6. This makes sure
apps using it don't break and get a helpful warning instead.

gtk/gtkcssstylepropertyimpl.c

index cee8e27c263ae1fbf22d5d8e1bad38defd23e62d..c344d3f37d0bb4efd9b02646fab9828984bdb43a 100644 (file)
@@ -1785,6 +1785,7 @@ _gtk_css_style_property_init_properties (void)
                                          NULL,
                                          NULL,
                                          _gtk_css_icon_effect_value_new (GTK_CSS_ICON_EFFECT_NONE));
+  _gtk_style_property_add_alias ("-gtk-icon-effect", "-gtk-image-effect");
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_css_style_property_register        ("engine",